package sri.proiect.models;

import java.sql.Connection;

import sri.proiect.utils.DatabaseManager;

public class Hotel {
	
	private String nume;
	private String oras;
	private String judet;
	private String link;
	private int nrStele;
	private String telefon;
	private String shortDescription;
	private int hits;
	private String id;
	private String email;
	private String adresa;
	private String website;
	
	public String getId()
	{
		return id;
	}
	public void setNume(String nume) {
		this.nume = nume;
	}
	public String getNume() {
		return nume;
	}
	
	public void setOras(String oras) {
		this.oras = oras;
	}
	public String getOras() {
		return oras;
	}
	
	public void setJudet(String judet) {
		this.judet = judet;
	}
	public String getJudet() {
		return judet;
	}
	
	public void setLink(String link) {
		this.link = link;
	}
	public String getLink() {
		return link;
	}
	
	public void setNrStele(int nrStele) {
		this.nrStele = nrStele;
	}
	public int getNrStele() {
		return nrStele;
	}
	
	public void setTelefon(String telefon) {
		this.telefon = telefon;
	}
	public String getTelefon() {
		return telefon;
	}
	
	public void setShortDescription(String shortDescription) {
		this.shortDescription = shortDescription;
	}
	public String getShortDescription() {
		return shortDescription;
	}
	
	public void updateHits(int hits)
	{
		/*try {
			DatabaseManager.getInstance().
					.getConnection();
			conn.updateHits(hits, this.getNume());
		} catch (Exception e) {
			e.printStackTrace();
		}*/
	}
	public void setHits(int hits) {
		this.hits = hits;
		
	}

	public int getHits() {
		return hits;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getEmail() {
		return email;
	}
	public void setAdresa(String adresa) {
		this.adresa = adresa;
	}
	public String getAdresa() {
		return adresa;
	}
	public void setWebsite(String website) {
		this.website = website;
	}
	public String getWebsite() {
		return website;
	}
}
